package creative.fire.interview.ca;

/**
 * @author feuyeux@gmail.com 2011-2-12
 * 
 * http://download.oracle.com/javase/1.4.2/docs/guide/lang/assert.html
 * http://www.ibm.com/developerworks/cn/java/l-javaassertion/index.html
 */
public class Assertion {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int j = 5;
		for (int i = 0; i < j; i++) {
			assert i < j-- : i > 0;
			System.out.println(i+" "+j+" "+(i * j));
		}
	}
}
/*
-enableassertions

D:\-aries\Interview\bin>java -ea creative.fire.interview.ca.Assertion
0 4 0
1 3 3
2 2 4

D:\-aries\Interview\bin>java creative.fire.interview.ca.Assertion
0 5 0
1 5 5
2 5 10
3 5 15
4 5 20
*/